#!/bin/csh -f
sws &
uname -a > /tmp/unameString ; awk '{printf("%s", $2)}' /tmp/unameString > /tmp/machName
/bin/rm /tmp/unameString
chmod 666 /tmp/machName

if {$?XUSERFILESEARCHPATH} then
	setenv XUSERFILESEARCHPATH "`pwd`/%N:$XUSERFILESEARCHPATH"
else
	setenv XUSERFILESEARCHPATH "`pwd`/%N"
endif

./sw -n 4Dgifts -s `cat /tmp/machName` g
